home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 539 / 539.xpi / content / measureit / measureit.xul < prev    next >
Extensible Markup Language  |  2010-01-24  |  1KB  |  40 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://measureit/skin/measureit.css" type="text/css"?>
  3. <!DOCTYPE window SYSTEM "chrome://linkchecker/locale/linkchecker.dtd">
  4.  
  5. <overlay id="measureitOverlay"
  6.          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  7.  
  8. // This imports our javascript.
  9.  
  10. <script type="application/x-javascript" src="chrome://measureit/content/measureitOverlay.js">
  11. </script>
  12.  
  13. // This is for the Status bar
  14. <statusbar id="status-bar">
  15. <statusbarpanel id="measureit_statusbar_panel"
  16.     insertbefore="statusbar-display"
  17.     collapsed="false"
  18.     persist="collapsed">
  19.  
  20.     <box id="measureit_statusbar"
  21.         title="MeasureIt On"
  22.         width="22"
  23.         height="15"
  24.         tooltiptext="MeasureIt"
  25.         onclick="net.kevinfreitas.measureit.toggle();"/>
  26. </statusbarpanel>
  27. </statusbar>
  28. // end Status bar
  29.  
  30.  
  31. <toolbarpalette id="BrowserToolbarPalette">
  32.   <toolbarbutton
  33.     class="toolbarbutton-1"
  34.     id="measureit_toolbar_button"
  35.     label="MeasureIt"
  36.     tooltiptext="MeasureIt On"
  37.     oncommand= "net.kevinfreitas.measureit.toggle();"/>
  38. </toolbarpalette>
  39.  
  40. </overlay>